package com.ctgu.redislock03.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ctgu.redislock03.entity.OrdersEntity;
import com.ctgu.redislock03.utils.ApiResult;

/**
* @author Alex2
* @description 针对表【t_orders】的数据库操作Service
* @createDate 2025-03-07 17:44:43
*/
public interface OrdersService extends IService<OrdersEntity> {

    ApiResult fetchVoucher(Integer voucherId, Integer userId);

    ApiResult createOrder(Integer voucherId, Integer userId);
}
